package edu.webtek.cloudreq;

import org.jdom2.Document;
import org.jdom2.Element;

public class ReqCreateCustommer extends ReqBase {
	private final String shopKey, customerName, customerPass;

	public ReqCreateCustommer(String shopKey, String customerName,
			String customerPass) {
		super();
		this.shopKey = shopKey;
		this.customerName = customerName;
		this.customerPass = customerPass;
	}

	@Override
	public Document toDocument() {
		Element shopKey = createElement("shopKey", this.shopKey);
		Element customerName = createElement("customerName", this.customerName);
		Element customerPass = createElement("customerPass", this.customerPass);
		Element createCustomer = createElement("createCustomer", shopKey,
				customerName, customerPass);
		return new Document(createCustomer);
	}

}
